package com.hongxun.project.assets.kHgq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

/**
 * 互感器-扩展表 k_hgq
 * 
 * @author hongxun
 * @date 2019-06-13
 */
public class KHgq extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/**  */
	private String byqId;
	/**  */
	private String pId;
	/** 所属设备ID */
	private String deviceId;
	/** 编号a */
	private String aCode;
	/** 编号b */
	private String bCode;
	/** 编号c */
	private String cCode;
	/** 数据状态 */
	private String datastate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setDeviceId(String deviceId) 
	{
		this.deviceId = deviceId;
	}

	public String getDeviceId() 
	{
		return deviceId;
	}
	public void setACode(String aCode) 
	{
		this.aCode = aCode;
	}

	public String getACode() 
	{
		return aCode;
	}
	public void setBCode(String bCode) 
	{
		this.bCode = bCode;
	}

	public String getBCode() 
	{
		return bCode;
	}
	public void setCCode(String cCode) 
	{
		this.cCode = cCode;
	}

	public String getCCode() 
	{
		return cCode;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("byqId", getByqId())
            .append("pId", getPId())
            .append("deviceId", getDeviceId())
            .append("aCode", getACode())
            .append("bCode", getBCode())
            .append("cCode", getCCode())
            .append("datastate", getDatastate())
            .toString();
    }
}
